package net.cheyo.idcard;

import javax.xml.bind.annotation.XmlElement;

public class IdCardBean
{
    private String idNum;

    private String location;

    private String birthday;

    private String gender;

    @XmlElement(name = "code")
    public String getIdNum()
    {
        return idNum;
    }

    public void setIdNum(String idNum)
    {
        this.idNum = idNum;
    }

    @XmlElement(name = "location")
    public String getLocation()
    {
        return location;
    }

    public void setLocation(String location)
    {
        this.location = location;
    }

    @XmlElement(name = "birthday")
    public String getBirthday()
    {
        return birthday;
    }

    public void setBirthday(String birthday)
    {
        this.birthday = birthday;
    }

    @XmlElement(name = "gender")
    public String getGender()
    {
        return gender;
    }

    public void setGender(String gender)
    {
        this.gender = gender;
    }

    @Override
    public String toString()
    {
        return "IdCardBean [idNum=" + idNum + ", location=" + location
                + ", birthday=" + birthday + ", gender=" + gender + "]";
    }
}
